function Photo(anId, aUrl, anElementName, aThumbnailUrl, aThumbnailMediumUrl, inCart) {
	
	//Id que tiene en la base
	var _id = anId;
	
	// Id que tiene el container(div) que lo contiene
	var _elementName = anElementName;
	
	var _url = aUrl;
	
	var _thumbnailUrl = aThumbnailUrl;
	
	var _thumbnailMediumUrl = aThumbnailMediumUrl;
	
	var _isInCart = ( inCart!= undefined ? inCart : false );
	
	
	//Bindings	
	this.getId = getId;
	this.getUrl = getUrl;
	this.getElementName = getElementName;
	this.setElementName = setElementName;
	this.getThumbnailUrl = getThumbnailUrl;
	this.getThumbnailMediumUrl = getThumbnailMediumUrl;
	this.isInCart = isInCart;
	this.setInCart = setInCart;
	
	//Setters & Getters
	function getId() {
		return _id;
	}
	
	function getUrl() {
		return _url;
	}
	
	function getThumbnailUrl() {
		return _thumbnailUrl;
	}
	
	function getThumbnailMediumUrl() {
		return _thumbnailMediumUrl;
	}
	
	function getElementName() {
		return _elementName;
	}
	
	function setElementName(aName) {
		_elementName = aName;	
	}
	
	function isInCart() {
		return _isInCart	
	}
	
	function setInCart(value) {
		_isInCart = value;
	}
}
